package org.bing.engine.statistic.domain;

public class ContainerStatistics {
    private String globalId;
    // thread stat
    private int totalThreadNum;
    private int idleThreadNum;
    // mem and cpu
    private float memUsage;
    private float cpuUsage;
    // stat for request
    private int queryPerSec; // qps
    // inbound and outbound traffic
    private int inTrafficPerSec;// kb
    private int outTrafficPerSec; // kb

    public int getTotalThreadNum() {
        return totalThreadNum;
    }

    public void setTotalThreadNum(int totalThreadNum) {
        this.totalThreadNum = totalThreadNum;
    }

    public int getIdleThreadNum() {
        return idleThreadNum;
    }

    public void setIdleThreadNum(int idleThreadNum) {
        this.idleThreadNum = idleThreadNum;
    }

    public float getMemUsage() {
        return memUsage;
    }

    public void setMemUsage(float memUsage) {
        this.memUsage = memUsage;
    }

    public float getCpuUsage() {
        return cpuUsage;
    }

    public void setCpuUsage(float cpuUsage) {
        this.cpuUsage = cpuUsage;
    }

    public int getQueryPerSec() {
        return queryPerSec;
    }

    public void setQueryPerSec(int queryPerSec) {
        this.queryPerSec = queryPerSec;
    }

    public int getInTrafficPerSec() {
        return inTrafficPerSec;
    }

    public void setInTrafficPerSec(int inTrafficPerSec) {
        this.inTrafficPerSec = inTrafficPerSec;
    }

    public int getOutTrafficPerSec() {
        return outTrafficPerSec;
    }

    public void setOutTrafficPerSec(int outTrafficPerSec) {
        this.outTrafficPerSec = outTrafficPerSec;
    }

    public String getGlobalId() {
        return globalId;
    }

    public void setGlobalId(String globalId) {
        this.globalId = globalId;
    }
}
